import {recipeData} from '../../common/recipeData.js'
import router from '@system.router';
export default {
    data:{
        recipeData:recipeData,
    },
    leftClick(){
        router.back();
    },
    detailClick(id){
        router.push({
            uri:'pages/detail/detail',
            params:{pid:id},
        })
    }

}